package com.ruoyi.applet.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Arrays;

/**
 * 视频管理对象 mini_video
 *
 * @author liucan
 * @date 2024-03-27
 */

@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class MiniVideo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String viTitle;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String viDescribe;

    /**
     * 视频路径
     */
    @Excel(name = "视频路径")
    private String viUrl;

    /**
     * 视频位置 0首页  1商学院
     */
    @Excel(name = "视频位置")
    private Integer viPlace;

    /**
     * 是否显示 0显示 1不显示
     */
    @Excel(name = "是否显示 0显示 1不显示")
    private Integer viShow;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String creationBy;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private String creationTime;

    /**
     * 状态 0正常 1删除
     */
    @Excel(name = "状态 0正常 1删除")
    private Integer viStatus;

    /**
     * 观看人数
     */
    @Excel(name = "观看人数")
    private Integer viNum;

    /**
     * 封面图
     */
    @Excel(name = "封面图")
    private String viPic;

    /**
     * 所属小程序
     */
    @Excel(name = "所属小程序")
    private String toApplet;

    @TableField(exist = false)
    private String[] ids;//删除用到的存储id

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getViTitle() {
        return viTitle;
    }

    public void setViTitle(String viTitle) {
        this.viTitle = viTitle;
    }

    public String getViDescribe() {
        return viDescribe;
    }

    public void setViDescribe(String viDescribe) {
        this.viDescribe = viDescribe;
    }

    public String getViUrl() {
        return viUrl;
    }

    public void setViUrl(String viUrl) {
        this.viUrl = viUrl;
    }

    public Integer getViPlace() {
        return viPlace;
    }

    public void setViPlace(Integer viPlace) {
        this.viPlace = viPlace;
    }

    public Integer getViShow() {
        return viShow;
    }

    public void setViShow(Integer viShow) {
        this.viShow = viShow;
    }

    public String getCreationBy() {
        return creationBy;
    }

    public void setCreationBy(String creationBy) {
        this.creationBy = creationBy;
    }

    public String getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(String creationTime) {
        this.creationTime = creationTime;
    }

    public Integer getViStatus() {
        return viStatus;
    }

    public void setViStatus(Integer viStatus) {
        this.viStatus = viStatus;
    }

    public Integer getViNum() {
        return viNum;
    }

    public void setViNum(Integer viNum) {
        this.viNum = viNum;
    }

    public String getViPic() {
        return viPic;
    }

    public void setViPic(String viPic) {
        this.viPic = viPic;
    }

    public String getToApplet() {
        return toApplet;
    }

    public void setToApplet(String toApplet) {
        this.toApplet = toApplet;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    @Override
    public String toString() {
        return "MiniVideo{" +
                "id=" + id +
                ", viTitle='" + viTitle + '\'' +
                ", viDescribe='" + viDescribe + '\'' +
                ", viUrl='" + viUrl + '\'' +
                ", viPlace=" + viPlace +
                ", viShow=" + viShow +
                ", creationBy='" + creationBy + '\'' +
                ", creationTime='" + creationTime + '\'' +
                ", viStatus=" + viStatus +
                ", viNum=" + viNum +
                ", viPic='" + viPic + '\'' +
                ", toApplet='" + toApplet + '\'' +
                ", ids=" + Arrays.toString(ids) +
                '}';
    }
}
